take more care with socket closing
add 'ping' protocol command, helper function
server: add -n(o-detach) flag, use ping to be smarter about other agents
add keyagent_adopt, to use agents from other ttys