Moving RestClient implementation out from PCL

PCL support bad currently, moving the implementation out