Fix: i3.command fails if payload's length > 127

* the msg_length byte string from struct.pack
   was truncated