Adding changes for lsp message packing/unpacking