util: introduce http utility library