http resolver test: Allow ESOCKETTIMEDOUT in addition to ETIMEDOUT. Fixes Travis build.