abstractet Connection to ConnectionPrivate to have more control over the connection