Made client and server take conn and listener rather than addresses