Use "virtual_server", which is correct
Expand switch arguments once, instead of for each 'case'
Passing const to non-const