Add SSL support for web socket