SSL libs might trigger ENOTTY on read

Mark Halpaap reports that testing for this ERRNO helps on Windows
when reading data via SSL.

He got "read failed: Inappropriate I/O control operation" errors.