refactored conditionals
raise an error for ntlm authentication with httpclient /cc #97