Pass key on file descriptor instead of environment variable.
Change the pipe message to key/value, for forward compatibility
Handle MOSH_KEY deletion & errors better