Header flexibility in binary mode
Header flexibility in binary mode

XXX: There is a lot of duplicated logics between binary and text
processing.

What we really need is
1. Extract an array of OmlValue from the protocol (even k/v for schema
0)
2. Pass it to a generic function which handles the logic of the
ClientHandler, and follows up to the storage backend.

Only 1. needs to be different depending on the protocol. This will also
support a better extensibility.

fixes: #791
refs: #1016

Signed-off-by: Olivier Mehani <9858fe98d2c7f5f35e0d2a08f134cfc58afd42d3@nicta.com.au>

alco90/soml,mytestbed/oml,alco90/soml,alco90/soml,lees0414/EUproject,lees0414/EUproject,mytestbed/oml,lees0414/EUproject,lees0414/EUproject,mytestbed/oml,alco90/soml,mytestbed/oml,mytestbed/oml,lees0414/EUproject,alco90/soml