Use websocket, fix backlog, fix auth

This makes the logger use websocket because the Requests library is too slow for the backlog.
The reason why the auth function didn't work previously was because it was using 'params' attribute instead of 'data'.

The websocket library it uses is: https://github.com/liris/websocket-client