update for decodeIO protobuf
update check condition
fix bug
add reconnect feature
format code