http request/response parser for erlang