tryDecodeFrame

Like decodeFrame but returns null instead of throwing.