Refactor for mio 0.3.x support
Use visionmedia/node-querystring to serialize query.
Add support for method override.