Abstracted socket communicators, so that they can alternatively use UDP.