MessageParser: support arrays of custom types
Dumb locks support (R/O and R/W).

All lock-related commands are implemented.

No locks storage.
Merge branch 'locks'

* locks:
  Dumb locks support (R/O and R/W).
  MessageParser: support arrays of custom types