Fake stdin to ensure the docker API libs don't exit early on hijack

Yet another attempt at fixing the weird behavior seen in PR #54 and #117.  I promise this one will work everywhere!