Improve error message handling for HttpAdServerConnector