headers, cookies monitoring added

Added headers and cookies in debug monitoring, similar to this PR - https://github.com/Codeception/Codeception/pull/776, but it was submited in master long time ago, and `1.8.*` was without this very useful feature.