Add an extra parameter to configure serialize feature:

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

Signed-off-by: Johnson Jou <johnson@unispace3d.com>