In-house winrm session handling, removed em-winrm dependency