Fix up the handling of endian translation and add support for decoding new and del server messages. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>