[fix] set content-type and prevent double pipes
[test] http headers and http pipes
[fix] bugs related to http req res pipe calls