- renamed snWebsocketSettings to snWebsocketOptions
- fixed bug causing the websocket to be in the wrong connection state after a failed connection