some bug fixes

* use res.status() instead of res.statusCode
* remove res.setHeaders('content-length') due to break content
* modify unescaped regexp'