Don't throw an error when close is called multiple times. Fixes #211
Updated NAN dep and switched to simpler inclusion string
When unexpected response sent by server, make the request and response available.
Fixes these problems:
(a) The request and response hang around (preventing process exit) until timeout
    - call err.request.abort to stop this
(b) It's very useful to be able to read the response! There may be extra error
    information returned by the server that can't be represented by the status
    code alone (e.g. some JSON data describing the error).
NodeV4 pass agent
[major] Remove 0.4 and 0.6 support, fixes #223

In addition to that, i've fixed a couple of JSHint issues, there are still a lot
more broken semicolons and broken switch/case statements. In addition to that i've
removed all tabs and replaced with the correct placeholders.
New event, for unexpected response ('unexpected-response').
If there's a handler, it's expected to take care of reading and closing it.
Otherwise, the request/response is closed and 'error' is emitted.
Merge branch 'master' of https://github.com/einaros/ws
Merge pull request #268 from kkoopa/master

Updated NAN dep and switched to simpler inclusion string
When unexpected response sent by server, make the request and response available.
Fixes these problems:
(a) The request and response hang around (preventing process exit) until timeout
    - call err.request.abort to stop this
(b) It's very useful to be able to read the response! There may be extra error
    information returned by the server that can't be represented by the status
    code alone (e.g. some JSON data describing the error).
NodeV4 pass agent
New event, for unexpected response ('unexpected-response').
If there's a handler, it's expected to take care of reading and closing it.
Otherwise, the request/response is closed and 'error' is emitted.
Put back blank lines
Merge branch 'master' of github.com:davedoesdev/ws

Conflicts:
	lib/WebSocket.js
Merge pull request #271 from davedoesdev/master

When unexpected response sent by server, make the request and response available
Add basic HTTP auth with `wscat --auth user:pass`
Allow custom HTTP headers in the initiating request
Improve documentation strings for --header and --auth
Merge pull request #274 from pyrtsa/headers

Headers
updated .npmignore

updated `.npmignore` to additionally ignore `bench`, `doc`, `examples` and `test` folders for __production__
Merge pull request #277 from HaykoKoryun/patch-1

updated .npmignore