bpo-32331: Fix socket.type when SOCK_NONBLOCK is available (#4877)

7 files changed