add http timeout

Useage:
HttpRequest.TIMEOUT_CONNECT = 1000;
HttpRequest.TIMEOUT_READ = 1000;
HttpRequest request = HttpRequest.post(url);
System.out.println(request.ok());