doc: update and modernize examples in api docs
- Use single quotes consistently
- Modernize examples to use template strings and arrow funcs
- Fix typos
- Fix a few line wrap issues
/cc @nodejs/http
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
/cc @nodejs/http