This is definitely the problem related to server. Probably the server is not following the HTTP specification and so the .NET client has flagging this as a potential problem.
There is no security issue here but only non-compliance with the RFC.
So to resolve the problem please apply the bellow configuration change:
<httpWebRequest useUnsafeHeaderParsing="true" />