Make namegeneration to work with both new and old OpenSSL.
Merge from FreeBSD r238110:
- Recognize 'none' or '0' as no flags.
- Allow to separate flags with |.
Style fix.
Merge from FreeBSD r247669:

Add support for bindat(2) and connectat(2).
Merge from FreeBSD:

Add support for the chflagsat(2) syscall.