Make realTransport protected so subclass could access it.