Using latest REST client repository
Updated to support new REST client
Merged JaTochNietDan's changes