Thread wrapper move to WebServer class