[tor-commits] [tor/master] Refactor: Use SOCK_ERRNO to avoid some #ifdef _WIN32s