Imports github.com/gorilla/websocket Standard library imports bytes encoding/base64 encoding/json errors fmt io/ioutil net net/http net/url regexp strconv strings sync time