XMPPConnection.sendPacket() null checking

Hi! May I suggest that XMPPConnection.sendPacket() check if its parameter is null before enqueing it, and failing immediately. I found that NullPointerException is thrown in the processing thread.

Thanks for the suggestion, I’'ve now made a fix.

Regards,

Matt