simple HTTP client in Erlang