nicokaiser/php-websocket — pull request #1 by webarto (2012-08-07 23:04:17+00:00)
Title: handshake fix for Chrome 20

Server sending Sec-WebSocket-Protocol in the Response is only valid if the client sent Sec-WebSocket-Protocol in the Request.
http://tools.ietf.org/html/rfc6455#section-4.2.2