Changed the protocol to transmit the IV instead of computing it (fixes #16)