detect ssl in links and redirect
redirect to ssl url on send