UPDATE: HTTPS compatible, moved connector