private void Accept(Socket connection) throws IOException {
    	DataInputStream reader = new DataInputStream(connection.getInputStream());
    	byte firstsend = reader.readByte();
    	switch (firstsend) {
    	case 0: //Minecraft player
    		new Player(connection, this, firstsend, server);
    		break;
    	case (byte)'G': //A browser or website is using GET
    		new Browser(connection, this, firstsend);
    	    break;
    	case 2: //SMP Player
    		Packet p = this.getPacket(firstsend);
    		if (p == null)
    			connection.close();
    		IOClient ic = new IOClient(connection, this);
    		//ic.Listen();
    		p.Handle(new byte[0], server, ic);
    		break;
    	}
    }