Traffic shaping re-implemented

This should fix #17.
Traffic shaping re-implemented in order to be compatible with mac80211