Allow Accept-Encoding header to be overridden by request headers
remove unused 'use DOMXPath' and property count and xpath
improve conditional by combine in one block
Fix Zend\Console\Getopt::getUsageMessage()

Getopt::getUsageMessage() no longer throws a warning, when freeform flags
are available and the parameters are already parsed via Getopt::parse().
Freeform flags will not show up in Getopt::getUsageMessage().

Added two tests to ensure this.
Adding failing test for zendframework/zf2#3033
Fix error checking on Zend\Http\Client\Adapter\Socket->write().
hotfix : The annotation @\Zend\Form\Annotation\AllowEmpty declared on  does not accept any values
using assertSame instead of assertEquals and change 'true' with true
Fixed #3051
* Added router and routeMatch to toArray method
* Modified testToArrayMethod
remove unused 'use Zend\Mvc\Exception' in Zend\Mvc\Controller\AbstractController
changeed it back 'consist' => the 'must' should be applied to all parts of the sentence
hotfix: change sha382 to sha384
remove 'else' because already 'return early'
Removed BOM
remove dot
remove dot
pull/3041 - solve php issue with default value unavailable for in-build classes
Making tests fail by adding a class that extends \Exception
Check if default value is available.
Reduce redundancy by using toUrl() within toRoute()

Reduced the redundancy by using the toUrl() method within the toRoute() method.