Only set transport if wsURL provided