Merge pull request #14 from fintanmm/master

vhosts support
Fixed localhost.