Add metadata agent support.

Initial support for metadata.

Signed-off-by: Ryu Ishimoto <ryu@midokura.com>