Emulating ADSL bandwidth shaping