Fix handling of request header

This makes the driver pass the tests added in https://github.com/Behat/Mink/pull/502

This relates to https://github.com/Behat/MinkGoutteDriver/issues/33
This fixes https://github.com/Behat/MinkBrowserKitDriver/issues/23