use http gem instead of net::http