Update HttpRequest.java

available() method works unreliable