Refactored socket property initialization [MINOR]
Abstracted multipart messages
Added tests for multipart abstraction
Added multipart string message abstraction