I use `recv_nonblock` to do a peek, and have added it in my fork. If amenable, I can submit a pull request