added optional onFormatError if non multiplex compliant data is received at the other end