Imports github.com/gorilla/mux github.com/koding/websocketproxy golang.org/x/crypto/nacl/secretbox Standard library imports crypto/rand encoding/base64 encoding/binary encoding/hex encoding/json errors fmt log net net/http net/http/httputil net/url strconv strings sync time