Update to use httpc:request instead of http:request
Add rebar support