Changed to use io.socket._request to support headers