Fixed thread safety
Improved HttpRequest