Enable work-around for boost's cancel() on sockets for certain versions of windows.  Abstract socketinfo.