code: static ConnectionRequest wrap(ConnectionRequest orig) {
          if (orig instanceof Wrapped)
              throw new IllegalArgumentException();
          return (ConnectionRequest) Proxy.newProxyInstance(
                  // https://github.com/aws/aws-sdk-java/pull/48#issuecomment-29454423
                  ClientConnectionRequestFactory.class.getClassLoader(),
                  interfaces,
                  new Handler(orig));
      }
docs: Returns a wrapped instance of {@link ConnectionRequest}
  to capture the necessary performance metrics.
  @param orig the target instance to be wrapped