Fixed the issue with new selenium v2.35 session id retrieval handshake

A fix for https://github.com/sebastianbergmann/phpunit-selenium/issues/265