changed HttpConnectionImpl class -- don't use BufferedInputStream