Updating LocalhostResolver to SingleHostResolver.