Minor fixes (typos, docblocks, unused statements)
[http] Remove unnecessary exceptions.

This exceptions only check if the argument is present. Since arguments does not have a default value there is no option for miss them.
[http] Fix return method
[http] Remove magic assignment in headers.

Adds constructor for set value
Merge pull request #5313 from Maks3w/hotfix/http-fix-many-header-issues

[http] fix many header issues
Merge branch 'feature/5313' into develop

Close #5313