Stores a connection to a remote resource. Usually a database connection (`resource` type), or an HTTP connection object ('object' type).