Changes transfer messages to be sent differently based on the state of the transfer. fixes #3823