Fixed the handling of request headers

This will make the driver pass tests added in https://github.com/Behat/Mink/pull/502 and resolve https://github.com/Behat/MinkGoutteDriver/issues/33

It depends on https://github.com/Behat/MinkBrowserKitDriver/pull/53