As a temporary solution, use Reel::Spy for socket logging
Require 'http_parser' explicitly