code: @Override
  	public Socket createSocket(String host, int port) throws IOException,
  			UnknownHostException {
  		long start = System.currentTimeMillis();
  		InetAddress addr = InetAddress.getByName(host);
  		long end = System.currentTimeMillis();
  		PerformanceLogger.noteElapsed("DNS:" + host, end - start);
  		return new Socket(addr, port);
  	}
docs: /* (non-Javadoc)
  @see org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory#createSocket(java.lang.String, int)