modify ferry to take socket and address for handling dns requests
integrate dnsinsideproxy and dnsoutsideproxy