Add common module to add network utility methods

Move network utiility methods to net_util in common.

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