support dnscache for socks5, add dial timeout time to 30 seconds