Fix a runtime type cast exception when calling RxtxChannel.local/remoteAddress()