reimplemented retransmissions

- retransmissions for the client are implemented (again)