doc: Initial network docs.

Add some basic docs regarding the network encoding and protocol.