Add http/ws routing layer between ejabberd_cowboy and handlers