In assuan.h (the exposed API), there are uses of socklen_t and no-uses.
- In some platform, socklen_t is not defined.
- For the build of libassuan, it is properly addressed by configure, and config.h defines the result.
- but the result is not exported to assuan.h
- The API for assuan_sock_connect, assuan_sock_bind and assuan_sock_nonce should use socklen_t.
- Other parts, connect method in struct assuan_system_hooks, __assuan_connect, and _assuan_npth_connect are using socklen_t