https://github.com/alibaba/tengine/issues/368
Merge pull request #395 from taoyuanyuan/trim

trim module feature and bugfix (https://github.com/alibaba/tengine/issues/368)