logging disconnects + reason (thanks @jerith)