transport factory for creating transport instances