Add an extra parameter to configure serialize feature:

To support the update of node-xmpp/node-xmpp-core#34

Signed-off-by: Jia-He Jou <joujiahe@gmail.com>