sockjs/sockjs-node — pull request #49 by rma4ok (2012-02-02 16:30:04+00:00)
Title: Provide all headers if origin is the same as host.

Working with sockjs has no sense if I can't check current session (cookies).

Your advice about
```sock.send(document.cookie);
```
is not helpful if server uses httpOnly cookies. Please consider ability to use all headers if socket opened on the same origin.

Thanx