check contentBytes before apply decodeToString method to prevent an exception from throw when an empty http body was returned.  also this is an effort to allow http test to pass issue 212 on github