add custom user-agent support