MessageParser fully implemented. fixes #18