Make the connection instance optional as the transport factory uses the setConnection method to set the connection instance when creating transports
Fetch the param from the transport instance and not the connection instance