SOCK_SEQPACKET is only supported on recent kernels. Let's add a fallback to SOCK_STREAM if it is not supported. To accomodate SOCK_STREAM, we also modify pid_notify_with_fds_internal() to do sendmsg() in a loop as with SOCK_STREAM, sendmsg() is not guaranteed to write all data in a single syscall or fail otherwise.