[JBIDE-13891] moved user agent setup from factory to http client

[merge]