0.9: [BC] Wrapped this.transport calls inside if(this.transport) so client won't crash if transport is null or undefined