Ratchet does not work with guzzle/http 3.6

Getting this error
Object of class Guzzle\Http\Message\Header could not be converted to int
Merge pull request #95 from gavroche/patch-1

Ratchet does not work with guzzle/http 3.6
Fixed type conversion issue with isProtocol method in RFC6455

I encountered the following error while attempting to use Ratchet. The __toString version of the request contained the correct value (13), so I cast the result to a string before casting it to an integer. 

Notice: Object of class Guzzle\Http\Message\Header could not be converted to int in [file system path]\vendor\cboden\ratchet\src\Ratchet\WebSocket\Version\RFC6455.php on line 53
Update HyBi10.php

I encountered the following error while attempting to use Ratchet. The __toString version of the request should contain the proper value, and retrieving the string before converting to an int would prevent this typecasting issue.

Notice: Object of class Guzzle\Http\Message\Header could not be converted to int in [file system path]\vendor\cboden\ratchet\src\Ratchet\WebSocket\Version\HyBi10.php on line 7
Merge branch 'patch-2' of https://github.com/Barbarrosa/Ratchet
Fixing more Guzzle API breaks
Version bump
Guzzle 3.6 conformance

Updated inheritance class to match API change
Use new Guzzle Header class when searching for values
Lock Ratchet into using Guzzle 3.6 to future-proof
Fixed broken unit test with Symfony 2.3
Merge branch 'refs/heads/lib-fixes'
Version bump fixes #99
Update SF2 deps to v2.3 - fixes #112

fixes#112
composers autoload order for compatibility with TYPO3 Flow framework 

This small change allow using the cboden/Ratchet out of the box with TYPO3 Flow .

Unfortunately TYPO3 Flow can not load second entry given in the manifest for autoloading (Source: http://docs.typo3.org/flow/TYPO3FlowDocumentation/stable/TheDefinitiveGuide/PartIII/PackageManagement.html#using-3rd-party-packages )

Only one of both tricks is needed in Flow's Settings.yaml:

:1. excluding annotations
------
TYPO3:
  Flow:
    reflection:
      ignoredTags: ['event', 'temporary', 'type', 'note']
------
:2. excluding this package from Object Framework (Note: this makes AOP for Ratchet off)
------
TYPO3:
  Flow:
    object:
      excludeClasses:
        'cboden.Ratchet': ['Ratchet\\.*']
------
).
Merge pull request #116 from RafaelKa/patch-1

composers autoload order for compatibility with TYPO3 Flow framework
Allow guzzle 3.7

Because lot of other dependencies rely on guzzle 3.7, and so it's impossible to satisfy everybody.
Merge branch 'refs/heads/patch-1'
Updated dependencies
Update changelog for 0.2.8
Merge pull request #124 from romainneutron/patch-1

Update changelog for 0.2.8
Merge remote-tracking branch 'upstream/master'