This only started popping up after I updated my Nodejs version to the latest. (The previous version I was using where it worked was v0.10.28)
The error is shown in upnp.js inside the _initParsers function on the line that calls
self.requestParser = http.parsers.alloc();