OpenSSL support

also fcntl & select