Cleaner network protocol.

Signed-off-by: Raphael Catolino <raphael.catolino@gmail.com>