Add a way to provide reason when closing a connection
Docs
Add UI, that commit got lost somehow.
Merge bug23438