Top-level HTTP object doens't deal with cookies now
remove gzip from HTTPRequest, it's handled by middleware
Extract HTTP cookie handling to middleware