socket accept() optionally can be passed with struct sockaddr ** and size//t **, which will then return details about the connected client.
It would be nice to have a similar API for ssh server as well.
ssh//bind//accept2(ssh//bind, ssh//session, struct sockaddr **, size//t **)
This can be used for servers that want to be verbose about their connections.
Implementation should be plain simple
ssh//bind//accept(ssh//bind sshbind, ssh//session session)
return ssh//bind//accept2(sshbind, session, NULL, NULL);
ssh//bind//accept(ssh//bind sshbind, ssh//session session, struct sockaddr **claddr, size//t **clsize)
** Previous implementation of ssh//bind//accept, except for that, accept() will be passed with
** cladde and clsize