nodejitsu/node-http-proxy — pull request #156 by fjakobs (2011-11-14 16:00:07+00:00)
Title: don't add upgrade handler if a custom handler is passed in 

if a callback but no static proxy is defined and
no routes are provided then handlers.length is 1.
However the upgrade event is still automagically
attached in spite of having an explicit callback.