closeFromServer method
Closes the connection as the server would, with status (1000,
normal, by default); the client sees it as a clean close.
Implementation
Future<void> closeFromServer([CloseStatus status = CloseStatus.normal]) =>
_end(status);