Closes #1482, use getRealRemote instead of getRemote to support EDNS