Added remote dns resolving for sokcs4a support