Along the same lines, I'd like to see something like $sockip and $sockport in ON SOCKLISTEN events, to be able to access the remote IP/port that is connecting before accepting the connection.
This was discussed in a feature request thread a few weeks back. I don't claim to really understand everything said in that thread, but it was explained that this is not possible. Basically, you don't receive that information until the connection is made. You can probably find the thread in the first page or two of the feature request forum.