Fix `tls` to `ejabberd_tls` rename

Some places in the code which called `tls` indirectly (through module name hidden as a variable, e.g. `SockMod:setopts` or `SockMod:peername` in `ejabberd_receiver.erl`) crashed as the module name in corresponding records wasn't updated when merging PR #97 from @twonds.