restclient based on httpclient3.1