editted open_clientfd() to return a Peer pointer instead of a file descriptor