httplib: fix the header function for User-Agent