fixed https redirect
fixed up the chrome only notice to work when the socket fails in Safari
Fixes #17
Fixes #16
Fixes #15