change to bs2grproxy to support sub-domain