refactoring HttpAuthorizer to have a setHeader method
Removing constructor which took hash for header name/values
auto resubscribe
The previous implementation only auto resubscribed if the connection was unexpectedly closed. The new functionality copies that of the JavaScript library; it will resubscribe even if the disconnect and reconnect were invoked via API method calls