Fixed std::streambuf::sync() in Socket.cpp
Improved MsgPack container elements interface