handle ssl better