Fix #7280, ER2 client not working on PHP 5.6+

PHP 5.6 seems to introduce a (maybe buggy) cookie support for SOAP clients.
We now unset cookies from the SOAP client before each request.