Establish a connection to an endpoint corresponding to a resolver query.
template< typename... T> void connect( T... x);
This function automatically establishes a connection based on the supplied resolver query parameters. The arguments are used to construct a resolver query object.