Specify HTTP/1.1 instead of HTTP/1.0
simple demo of both HttpRequest and inet

create an http request and send it to a web server.
show both the request text and the reply HTML.