http request: implement method GET, POST or HEAD

Also add heading "Host:" to be compliant (proxy)