tests/unix_sockets: Start using Message objects for msg creation
tests/unix_sockets: Add and use the message type field