Fix small bugs in FreeDOM shim.
Fix small bugs in FreeDOM shim.

chinarustin/uproxy,roceys/uproxy,dhkong88/uproxy,IveWong/uproxy,dhkong88/uproxy,dhkong88/uproxy,MinFu/uproxy,chinarustin/uproxy,qida/uproxy,MinFu/uproxy,uProxy/uproxy,qida/uproxy,itplanes/uproxy,MinFu/uproxy,uProxy/uproxy,chinarustin/uproxy,chinarustin/uproxy,IveWong/uproxy,itplanes/uproxy,uProxy/uproxy,uProxy/uproxy,jpevarnek/uproxy,jpevarnek/uproxy,dhkong88/uproxy,jpevarnek/uproxy,MinFu/uproxy,jpevarnek/uproxy,jpevarnek/uproxy,itplanes/uproxy,uProxy/uproxy,chinarustin/uproxy,MinFu/uproxy,roceys/uproxy,itplanes/uproxy,roceys/uproxy,IveWong/uproxy,roceys/uproxy,IveWong/uproxy,itplanes/uproxy,qida/uproxy,dhkong88/uproxy,roceys/uproxy,qida/uproxy,qida/uproxy