Add debug for upstream response
Fix segfault bug; segfault was occured when body is nil