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