merging in the socket.io work
adding support for HEAD, so it will no longer error