Stdio.File::open_socket() doesn't have such a parameter that I can find. Which one are you referring to? The "host" parameter seems intended for binding local interface only.
If you'd like to rework Query.pike to get rid of open_socket() I see no problem in changing that. For now I'm inclined to update Query.pike with that DNS move to make things slightly better.