Added `reason_msg` to RELAY_END cells.

This was done to get rid of a bug caused when reason=4. Also added some
better log messages.