Do not try doing stuff with body if undefined (ex: 500 status code).
Merge pull request #460 from OniOni/upstream

Empty body in answers causes appium to crash