examples/vhost: check argument length