Fix warnings and use HTTPS