ftp: add logging when client disconnects

The logged message includes whether the client disconnected "cleanly" by
issuing the QUIT or BYE commands: the lack of a clean exit may indicate
a problem from the client's point-of-view.

Target: master