Fixed reference to the startsWith function in the StatusController
Added a configuration option to make gateway connection testing optional.  This should reduce the load on gateway nodes for which the connection is expected to be always available