added empty response handling to the simple rest client, added sample
dog client