Closes the link, telling the far end code and reason.
code
reason
Future<void> close([int? code, String? reason]);