added a retry for resolving
Merge https://github.com/henices/Tcp-DNS-proxy

Conflicts:
	tcpdns.py
add retry code
minor fix
bug fixed