connection timeout
better ttl initialization
refine binary search
clean up some parts
more sane defaults