Privatized internal methods, fixed a bug in queryUdp (couldn't specify nameserver other than google dns)