Fixed compiler warnings

- Removed unused imports.
Can now send stdin to processes over WinRM. Fixes #54.