rest client for erlang