Adjust mod_websockets to new cowboy routing scheme
Make mod_websockets resilient to multiple starts

When ejabberd is configured to serve multiple domains (e.g. localhost
and anonymous.localhost) the module is started once for each served
domain.

This caused a badmatch when doing cowboy:start_http for the second and
consequent times.