API Gateway: SSL socket factory may not be null