Adding support for Zabbix Sender v1.4

As you might see I implemented some little changes for supporting this older version of the protocol, that is xml bases instead of json.

I didn't think too much about design but I think my changes are not very intrusive.

Looking forward for your comments.