remove protocol_factory, in favor of explicit Protocol registration
update tests to handle removal of protocol_factory in favor of
explicit Protocol registration
update examples to handle removal of protocol_factory in favor of
explicit Protocol registration