Continue work on NetworkAgent. Trying to achieve most lightweight message encoding/decoding implementation.