Wrap the native pointer to the connection into a wrapper class