add lws_is_ssl api

Suggested by Michael Harbler on the mailing list

Signed-off-by: Andy Green <andy.green@linaro.org>