fix port conversion in vhost
fix port conversion in vhost

fix port conversion, don't forget to use substr function. spotted by
@rnewson on irc, again. thanks. patch by benoitc.

git-svn-id: eed9d206131b186e33f41325873c3684e4065c95@1174358 13f79535-47bb-0310-9956-ffa450edef68

linearregression/bigcouch,cloudant/bigcouch,andrejb/cloudant_bigcouch,PerilousApricot/bigcouch,PerilousApricot/bigcouch,linearregression/bigcouch,andrejb/cloudant_bigcouch,andrejb/cloudant_bigcouch,breezjw/bigcouch,kofron/bigcouch,cloudant/bigcouch,PerilousApricot/bigcouch,linearregression/bigcouch,PerilousApricot/bigcouch,kofron/bigcouch,kofron/bigcouch,andrejb/cloudant_bigcouch,georgemarshall/bigcouch,linearregression/bigcouch,georgemarshall/bigcouch,cloudant/bigcouch,PerilousApricot/bigcouch,breezjw/bigcouch,cloudant/bigcouch,Asquera/bigcouch,linearregression/bigcouch,breezjw/bigcouch,linearregression/bigcouch,andrejb/cloudant_bigcouch,cloudant/bigcouch,cloudant/bigcouch,kofron/bigcouch,cloudant/bigcouch,Asquera/bigcouch,georgemarshall/bigcouch,georgemarshall/bigcouch,kofron/bigcouch,breezjw/bigcouch,andrejb/cloudant_bigcouch,breezjw/bigcouch,linearregression/bigcouch,Asquera/bigcouch,PerilousApricot/bigcouch,kofron/bigcouch,georgemarshall/bigcouch,Asquera/bigcouch,andrejb/cloudant_bigcouch,Asquera/bigcouch,breezjw/bigcouch,georgemarshall/bigcouch,Asquera/bigcouch