Adding hlhttp and modifying hlcurl to use it