Allow sending headers with socket-based requests.

We use header-based authentication to pass our policies. With the update from Sails 0.10.1 to 0.10.4, the client library changed and our policies were denying socket-based requests. This PR restores the ability to set headers for websocket requests.

Relevant issue: https://github.com/balderdashy/sails/issues/2041