Plugin encode arguments

Encodes plugins arguments. In direct relation to:

https://github.com/NagiosEnterprises/ncpa/issues/16