p2p relay client with tests