Software-defined application-specific traffic management for wireless body area networks