#3082 added handle() method to AutoDiscover to publish result.
#3082 fixed headers output error in tests
Merge pull request #3518 from ayastreb/zf3082

[#3082] added handle() method to AutoDiscover to publish result.