guzzle/guzzle — pull request #646 by oleg8sh (2014-04-23 09:36:07+00:00)
Title: Prevent crushes on parsing incorrect HTTP request

Steps to reproduce crush:
1. Start http-server (like in Ratchet's Hello World (http://socketo.me/docs/hello-world)).
2. Connect to it with telnet (instead of browser), and send any text followed by '\n\n'.
Http-server will crush with "PHP Notice: Undefined offset: 1 in .../Guzzle/Parser/Message/MessageParser.php on line 36" (ratchet currently uses v.3.7-dev)