code: public Connection newInstance(Connection target, ConnectionPoolCallback connectionPoolCallback) {
          return proxyConnection(target, new ConnectionCallback(connectionPoolCallback));
      }
docs: Creates a ConnectionProxy for the specified target and attaching the
  following callback.
  
  @param target                 connection to proxy
  @param connectionPoolCallback attaching connection lifecycle listener
  @return ConnectionProxy