Imports github.com/gorilla/websocket Standard library imports net/http/cookiejar bufio bytes crypto/rand encoding/base64 encoding/json errors fmt math/rand net net/http net/url strconv strings sync time