Don't consider port number in name of peer in create_addr (bug #1974)