Atmosphere/atmosphere — pull request #659 by halfbaked (2012-10-01 17:25:25+00:00)
Title: SSE origin check becomes protocol agnostic

Currently using SSE transport protocol with HTTPS will fail, with a message printed to the console about the request not being of the same origin. The reason is that in the origin check, http is hardcoded. I have changed the code to determine the protocol via the location object. SSE will now work with HTTP and HTTPS.