Added binary serialization utility class

+ Added internal thread-safe utility class for binary serialization.