openinput: save protocol version
openinput: save protocol version

Signed-off-by: Filipe Laíns <d780ea131edc6126ff48fa0382b66c02d54b57a5@riseup.net>

whot/libratbag,libratbag/libratbag,libratbag/libratbag,whot/libratbag,libratbag/libratbag,whot/libratbag