Added collection of user's env

you can now access stuff like SSH_CONNECTION and any other env variables for the connecting user.

Should work across most unicies, but AIX and Solaris users should x2 check