added WebSocket object to websock lib