How to send an authorization header in Server Connect from Client to Server (node.js)?

In my case it was setting the headers content type in the response. Not on the request.