Some common utilities used by the cyclon.p2p components