Added callback to threaded_http
Fixed syntax error of threaded_http