I am building an intermediate node server which acts as both socket client and server, I want to listen to backend server events and then forward the events to client(browser) after processing.

```
var socket = require('socket.io'),
    client = require('socket.io-client');

socket.on('event_name', function(data) {
    /* Logic to process response and relay to client */
    client.emit(this.event, data); // How can I get name of the outer event?
});

```

I want to get the `event_name` value in the callback. How can I do?