Throw an exception if you misspell transport

Change-Id: I3d12dbd4d8c1789e56cd9172f5fdd3522e89ae79