Added changes to remove check for local domain for winrm-s use

@adamedx @kaustubh-d 
I've fixed possible review comments related to winrm backward support i.e removing local domain name check to use winrm-s.