Fix ejabberd_captcha's listener parsing

If the "captcha_host" is specified without "http://" or "https://"
prefix, ejabberd_captcha tries to figure out the protocol automatically.
Fix the code that parses the listener configuration in order to do that.
Merge pull request #387 from weiss/fix-captcha-without-proto

Fix ejabberd_captcha's listener parsing