Native connection impl, both local and remote