in apn utils, load correct user agent