Change user agent
Add timeout and exception handler
Add statistics