Add few more test
Change attributes from host, port to addr. Don't log heartbeat (again)
Conditionally pass user/pwd to pusher.  Use new handleConnection function.  Add channel for messages to pusher.