Fix issues with base URL settings and (sadly) disable SSL hostname verification for now, must get SNI to work.