diff --git a/lib/components/connector.js b/lib/components/connector.js
index <HASH>..<HASH> 100644
--- a/lib/components/connector.js
+++ b/lib/components/connector.js
@@ -218,7 +218,7 @@ var bindEvents = function(self, socket) {
   socket.on('message', function(msg) {
     var dmsg = msg;
     if(self.decode) {
-      dmsg = self.decode(msg);
+      dmsg = self.decode.call(self, msg, session);
     } else if(self.connector.decode) {
       dmsg = self.connector.decode(msg);
     }
modify custom decoder to be able to do more work.