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

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