Adding various fixes for CORS request/response handling

There are a few tests that verify that a SockJS server responds with
proper CORS HTTP response headers. Some of these test do not send
requests with the appropriate CORS request headers which could mean that
servers that follow the CORS specification [1] might fail the requests by
not sending back CORS repsonse headers

This PR attement to fix this issue.

[1] http://www.w3.org/TR/cors/#resource-requests '6.1 Simple Cross-Origin Request, Actual Request, and Redirects'
Sorry about this, it's a mistake. I've added an explicit ```Origin``` to the CORS request but not passing that origin into the ```verify_cors``` method. It's been a while since I looked at the code so let me take a closer look and come up with a suggestion.