Improved/abstracted received message parsing