SIGN IN SIGN UP

Fix HTTPS redirects and TLS sockets

It still won't work behind a base path, but if you're using a reverse
proxy you can just redirect to HTTPS yourself. And should probably
handle TLS termination there too.

For sockets I just needed to add back the proxy call.
A
Asher committed
c567a06ff58107344cc4c49a166652309a8da991
Parent: e5b68a8