private void connect() {
        String key = Crawler.extractParameter(Crawler.downloadPage("http://world" + WORLD + ".runescape.com/g=runescape/,j0"), 32);
        if (key == null) {
            System.err.println("Couldn't find valid handshake key.");
            System.exit(1);
        }
		requester.connect("world" + WORLD + ".runescape.com", MAJOR_VERSION, MINOR_VERSION, key);
		while (requester.getState() != CacheRequester.State.CONNECTED) {
			requester.process();
		}
		System.out.println("Successful connection");
	}