Correctly handle zero length web sockets