Update msgpack_define_external.h to support MSVC.
Fix invalid memory access (after free) in msgpack packet parser.