use net/http for restclient

httpi is not thread safe and has bad style