add virtual server logic
Merge pull request #217 from leoliang/master

add virtual server support