Moved the autohttps stuff into it's own class

THis way I can possibly not include the autohttps stuff if I want to
Depend on the autohttps part to auto-https