added http server thread option