Imports github.com/pkg/errors github.com/gorilla/websocket Standard library imports bytes io io/ioutil net/http/cookiejar context fmt net net/http net/url sync