MOSH_KEY on a pipe instead of in environment

Here's a patch to pass MOSH_KEY between mosh and mosh-client on a pipe, rather than in the environment.  It also has code to generally pass any named variable on the pipe, which seemed like a good idea at the time but may be a tad overimplemented now.  Resolves #156.