void doConnect() throws Exception {
		// Setting up socket connection
		socket = new SocketIO("http://127.0.0.1:" + getProxyPort() + "/main",
				this);
		assertEquals("onConnect", takeEvent());
		assertEquals(transport, socket.getTransport());
	}
Sets up a {@link SocketIO} connection.

@throws Exception
            the exception
tests/io/socket/AbstractTestSocketIO.java