Make write_http plugin configured properly

Quite similar to `write_graphite` plugin.

Ref: https://collectd.org/wiki/index.php/Plugin:Write_HTTP