Imports github.com/gorilla/websocket Standard library imports bytes crypto/tls encoding/json fmt io io/ioutil log net net/http net/http/cookiejar net/url os strconv strings time