Add 'host' header to connection objects

This makes it possible to use a single SockJS server with multiple
virtual hosts (that each might have unique logic).
Merge pull request #105 from jcheng5/patch-1

Add 'host' header to connection objects
#109 - expose 'user-agent' header
Merge branch 'master' of github.com:sockjs/sockjs-node

Conflicts:
	src/transport.coffee
Add accept language header
Merge pull request #113 from timhaines/add-accept-language-header

Add accept language header
When the server closes a connection, make sure the send buffer still gets flushed.
Upgrade Faye to 0.4.4.
Include protocol field with raw WebSocket connections.
Release 0.3.6
Ignore Emacs ~ files in git and npm.
Correct version of 73c3e3.
Release 0.3.7
Small grammar updates for ReadMe
Merge pull request #124 from nickborromeo/patch-1

Small grammar updates for ReadMe
Set Vary: Origin on CORS requests

The Access-Control-Allow-Origin header is set depending on the request's Origin
header. Although most requests also send Cache-Control headers with no-cache,
the OPTIONS requests for CORS pre-flight requests do set cache headers.

See http://www.w3.org/TR/cors/#resource-implementation
Don't look up session id undefined

Otherwise a client can squat session id "undefined" (the string, not the value)
and prevent WebSocket-based transports, with session id undefined (the value),
from connecting.
Merge branch 'pr/131'
Renamed license file to standard LICENSE
Allow servers to specify a base URL in /info.