src: Try to recover when reading from a fd returns ENOTSOCK.
src: Try to recover when reading from a fd returns ENOTSOCK.

When attempting to read from a descriptor, if an underlying
autobind fails because it's not a socket, stop intercepting uses of that
descriptor.

Reviewed-by: Andreas Schneider <5be00ddc76278cf6077f5047ca3384a88460c671@samba.org>
Reviewed-by: Stefan Metzmacher <f1988b9e977fc98ae4b41148d1c7fe6accb829c3@samba.org>

jhrozek/socket_wrapper,anoopcs9/socket_wrapper,jhrozek/socket_wrapper,anoopcs9/socket_wrapper