Added config.Header to emit HTTP headers on the upgrade request.