sockets fixes&extensions
-
SSL sockets: propagate socket error on SSL_ERROR_SYSCALL (SSL_ERROR_SYSCALL means an error happened on the underlying socket)
-
set FSocketInitialized to False in TSocketStream.Close (fix AV when Close is called twice)
-
Sockets errors redefined as regular Berkeley error constants also for Linux + add EINTR for Win