Added address resolving function (Thank you stal).

Tested on Windows 7.
`resolve_addr("tox.im")` == `resolve_addr("96.250.15.16")` == `inet_addr("96.250.15.16")`
(`96.250.15.16` is `tox.im`'s current ip address)