Stop using environment var for storing access key

This diff removes the use of ENV var for key passing to mosh-client.
Instead a socket is used to pass the key, this way it is much more
difficult than just `ps -Eww <pid>` to get the key from the mosh
process.