Moving the Peer and PeerManager code to the haskoin project