[Transport] Move parameter factory to an independent file

parent ae7df29b