Add a lookup method for hostnames
Fix up GNU strerror_r stupidity
Add a "set_blocking" method to po6::io::fd
Add "compare" to po6::net::hostname
Make checks pass on GCC 4.7
Merge windows code.

Signed-off-by: Sean Ogden <positivelyskewed.sf@gmail.com>