support for passed in express, httpServer, and primus
add test for passed in params