Fix some critical bugs
Fix some critical bugs

zhuhaow/tun2socks,Hmyy/tun2socks,Hmyy/tun2socks,Hmyy/tun2socks,zhuhaow/tun2socks,Hmyy/tun2socks,Hmyy/tun2socks,zhuhaow/tun2socks,Hmyy/tun2socks,Hmyy/tun2socks,zhuhaow/tun2socks