vhost: make port parameter defaults integers

Fixes test failure for code introduced in abe4b495