nginx refactory

This branch contains experimental code. do not use in production.

Refactory on the nginx module, including:
  - Better handling larger posts;
  - Now using nginx echo module during the regression tests.