be compatible with latest mochiweb and R16.

fix #53.