Rewrite plugin module to use rrd-transport

Signed-off-by: John Else <john.else@citrix.com>