* use gw sid as call id and fix bug on updateing regbots
we must not mutate gw directly, as it is cached in the gateways array
and adding properties would cause the JSON.stringify comparison to detect a
false change on every checkStatus cycle, triggering unnecessary re-registrations.
* fix tests
add influx and also the registered now changes to remove previous reg on update
* better test scenario
still checks that we have 1 registered as expires now at 600s so it doesn't expire before the 65sec delay
* use outbound proxy for registrations where set
* remove requirement that port can only be set on IP address not host
* switch logging back to debug and remove unused function
* Update regbot.js
* disable options ping on defined errors
* correct sid
* disable reg on error
* fix path
* fixes from testing
* fixes from testing
* lint
* update dbhelpers dep
* remove whitespace in CONFIG strings
* lint
* this seems like a better way of convering and matching status codes