Make PomeloClient class support parsing DNS.

I referenced this stackoverflow topic.
http://stackoverflow.com/questions/6498829/cant-parse-domain-into-ip-in-c