Adding support for hostname cache expiration.
Merge pull request #1 from tellapart/hostname-cache-expiration

Adding support for hostname cache expiration.