Move relayMaxQueueLength into factory for improved visibility.

When in the protocol, downstream disconnections cause this metric
to disappear.