Networking code

This PR contains the core networking system for Libretalk.