major update of connect/peer/relay handling based on the proposed protocol changes