Asynchronous notifications for Erlang sockets