Be much better about origin handling, and pass the http.Request object
through to the OnConnect callback so that request metadata can be
used for connection setup.