http: use more destructuring
This moves as much logic as possible to destructuring of required modules as we did it in other lib files.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
This moves as much logic as possible to destructuring of required modules as we did it in other lib files.
make -j4 test
(UNIX), or vcbuild test
(Windows) passes