Imports github.com/google/uuid github.com/gorilla/mux github.com/gorilla/sessions github.com/lestrrat-go/jwx/jwk github.com/lestrrat-go/jwx/jwt github.com/pkg/errors github.com/rs/cors github.com/sirupsen/logrus github.com/yhat/wsutil Standard library imports bytes crypto/rand encoding/json flag fmt io net/http net/http/httputil net/url strings time