Initial version of API to set custom User Agent, references #172