Attach stdin

Issue: https://github.com/apocas/dockerode/issues/5

This improvement (including this: https://github.com/apocas/docker-modem/pull/11), makes it possible (even using unix domain sockets), attach to container with stdin enabled.

This pull request includes a complete use example, including use a `resize` to update a tty dimensions.