Request factory optimization (host name DNS lookpu is executed on demand)

Every request creation executes remote host DNS lookup. This could be very slow. Now it is executed on demand.