Refactored PackedMessage class to use std instead of boost + unit test