check whether websocket is supported by your web browser