SOCK_NONBLOCK does not exist on MacOS
Remove __weakref__ from slots in SSLContext