Fix scam_capmt sockets.
fix ts_packet_get_payload_offset