Fixed the proper removal of a worker when it is closed, and correctly size the reception byte array when data is read.
Added the ConnectionState interface to wrap the current state of a client-server relationship protocol-wise.
Added @NotNull annotations and final where needed in ConnectionState.
Minor code reformat, no functional changes.
Added a decoder for the version message.
Removed an unused import in Decoder.
Message localization.