This hardens the stub resolver against fragmentation-based attacks. (cherry picked from commit e14a2772)