Currently, a no-op lambda is used as the deleter for the temporary shared pointer helper in Sock::Wait. This is perfectly fine, but has a few style issues:
- The lambda needs to be allocated on the heap
- It triggers a false-positive upstream GCC-16-trunk bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123912
Fix all issues by just using an aliasing shared pointer, which points to this, but is otherwise empty (sits on the stack without any heap allocations).