Imports github.com/gorilla/websocket Standard library imports bytes crypto/tls encoding/base64 encoding/json fmt io/ioutil math/rand net net/http strings time