Add an extra parameter to configure serialize feature:

To support the update of node-xmpp/node-xmpp-client#41

Signed-off-by: Jia-He Jou <joujiahe@gmail.com>