Some initial work on an abstraction for the network connection