Add virtual_host argument back, to keep backward compatibility

If the virtual host is specified in URI, it will always take precedence