Only set User-Agent and Accept-Language if they are not null to prevent ...

...malformed request header