Fixed a bug in service discovery.
Fixed the error bad_module when using a custom log path.
Add an optional IP parameter for mod_bosh, mod_metrics, mod_websockets.
rename tls to ejabberd_tls to avoid conflicts with ssl tls module
silly me
rename file and module
Fix erroneous inactivity timeouts in mod_bosh

If a client has a long-poll connection open to mod_bosh and needs to
send a message, it will open a new connection to mod_bosh to send the
message.  return_surplus_handlers() in mod_bosh_socket will then close
the old connection, and the new connection will become a long-poll.

When this happens, send_wrapped_to_handler() in the current code starts
the inactivity timer upon closing the old connection even though the
client has already established a new connection to replace it.  If the
inactivity timer is lower than the wait timer (as it is by default), and
the client does not receive any messages before the inactivity timer
fires, then the client will be disconnected.

This commit corrects the issue by only setting the inactivity timer if
there are no active handlers when send_wrapped_to_handler() is called.
Add a 'max_wait' option to mod_bosh

This allows the server administrator to limit the BOSH 'wait' parameter
to avoid issues caused by low network/firewall timeouts.
Fix README.md: make is equivalent to get-deps *and* compile
add missing ans1 application required for building under R16
update cowboy to 0.8.6
Fix #socket_state.sockmod to use ejabberd_tls

e6508cab renamed `tls.erl` to `ejabberd_tls.erl` in order to avoid a
conflict with the `tls` module (from `ssl` application) introduced in R16.
This commit fixes some places which were still referring to `tls` instead
of `ejabberd_tls`.
Fixed RSM in room discovery.
Collect CI test results from more than one run