Compat for httplib