Make ProtocolRegistry aware of default protocols, close #1586