Creates a new instance of InMemoryTransportFactory.
InMemoryTransportFactory
a new instance of this factory