* Use buffered connection for gossip * fix wrong timeout * Encode length in big endian * Improve debug logging