added virtual hosts getter function
fixed coding standards
Merge pull request #7 from zelgerj/master

added virtual hosts getter function