Use requests instead of httplib