Experimental, probably tragicly broken, packet scheduler