add https/wss support for websockets
Merge pull request #113 from aaannz/websocket

add https/wss support for websockets