ipython/ipython — pull request #6480 by minrk (2014-09-16 00:18:31+00:00)
Title: only compare host:port in Websocket.check_origin

don't include protocol

- matches tornado's own behavior
- avoids incorrect 403 in http-behind-https proxy situations.

ping @rgbkrk

I think this should be backported to 2.3