Updated REST library

Added method isCli() to Abstract Request