add redsocks and pdnsd.conf support