httplib: set the default proto