Refactor http output
Merge pull request #124 from buger/workers-pool-refactoring

Refactor http output