Support multi-thread

1. changed to HttpServletRequest and HttpServletResponse
2. multi-thread supported