doc: add optional callback to socket.end
Since the optional callback was missing in the socket.end, I added it.
Refs: #18708
Checklist
-
documentation is changed or added -
commit message follows commit guidelines
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Since the optional callback was missing in the socket.end, I added it.
Refs: #18708