Slight refactor of attaching listeners for receipt of data from peer