Fix for socket data after disconnect

thanks to caphood and haliphax for the error report.
display environment variables received by ssh.

OpenSSH reveals *only* the LANG variable, nothing more.