change from net/http to curb for HTTP service