Merge pull request #1 from marshallswain/queryobject

Enabled custom connect queries for socket.io.  Needed for token auth
Setting up params on {query:params} for consistency with REST.
Merge pull request #2 from marshallswain/query->params

Setting up params on {query:params} for consistency with REST.