1. Remove redundant code in autosocks.c.
2. Enhance address cache in autosocks.c. The new cache stores IP
   addresses in blocks.