Fix 406 on host.get_ports()

Fixes #5

Signed-off-by: Tomoe Sugihara <tomoe@midokura.com>