updated Hybrid protocol module to support vhosts