Fixed checksum calculation
Fixed array parameters serialization.
Fixed working on broken connections.