Added code to assemble incoming wire strings to messages