Added safe split for message parsing