Add a constructor for making a Connection from a raw pointer