add getMessage for http\client