@Override public void connect() throws IOException {
this.connected = true;
}
@Override public InputStream getInputStream() throws IOException {
MockBrowserResponse response = browser.process(new MockBrowserRequest(url, "GET"));
return new ByteArrayInputStream( response.getServerResponse().getResponse().getData() );
}