Make ProtocolBase.from_string accept additional arguments.
minor.