Update the websocket connection creation with second parameter to pass protocol

Add the second parameter for protocol to creation of WebSocket instance. Without this, the ''Sec-WebSocket-Protocol" is passed as undefined leading to failure of WebSocket connection handshake