check if maxListeners is a number before passing to request.

undefined throws error in node v0.10: TypeError: n must be a positive number
Merge pull request #51 from mandric/master

Throws error on node v0.10: TypeError: n must be a positive number