Throw exception in sendPacket if packet is null.
Throw exception in sendPacket if packet is null.


git-svn-id: 0d4d1bf2e47502aa0f0957c230a0ec7fa56198fd@2151 b35dd754-fafc-0310-a699-88a17e54d16e

qingsong-xu/Smack,dpr-odoo/Smack,Tibo-lg/Smack,hy9902/Smack,xuIcream/Smack,kkroid/OnechatSmack,esl/Smack,magnetsystems/message-smack,esl/Smack,lovely3x/Smack,vanitasvitae/Smack,u20024804/Smack,opg7371/Smack,lovely3x/Smack,vito-c/Smack,dpr-odoo/Smack,kkroid/OnechatSmack,Tibo-lg/Smack,cjpx00008/Smack,ayne/Smack,ishan1604/Smack,lovely3x/Smack,Flowdalic/Smack,igniterealtime/Smack,andrey42/Smack,vanitasvitae/Smack,xuIcream/Smack,TTalkIM/Smack,annovanvliet/Smack,esl/Smack,cjpx00008/Smack,unisontech/Smack,qingsong-xu/Smack,magnetsystems/message-smack,vanitasvitae/Smack,Flowdalic/Smack,deeringc/Smack,ayne/Smack,unisontech/Smack,u20024804/Smack,igniterealtime/Smack,igorexax3mal/Smack,opg7371/Smack,mar-v-in/Smack,hy9902/Smack,chuangWu/Smack,hy9902/Smack,vito-c/Smack,vanitasvitae/smack-omemo,TTalkIM/Smack,vanitasvitae/smack-omemo,dpr-odoo/Smack,ishan1604/Smack,xuIcream/Smack,igniterealtime/Smack,qingsong-xu/Smack,kkroid/OnechatSmack,opg7371/Smack,chuangWu/Smack,mar-v-in/Smack,igorexax3mal/Smack,andrey42/Smack,Flowdalic/Smack,vanitasvitae/smack-omemo,TTalkIM/Smack,annovanvliet/Smack,magnetsystems/message-smack,annovanvliet/Smack,deeringc/Smack,deeringc/Smack,cjpx00008/Smack,ayne/Smack,mar-v-in/Smack,Tibo-lg/Smack,u20024804/Smack,andrey42/Smack,chuangWu/Smack,unisontech/Smack,igorexax3mal/Smack,ishan1604/Smack