Added null-check for cases when a null body is being logged

I came across a NullPointerException which resulted from an attempt to log a null body. When using Retrofit with Rx, it results in whole request failing and onError() being called; turning logs off solved this problem.