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.