Added initial networking framework.

Code does not compile.