Handle responses with no content properly.

In new DigitalOcean API, 204 code is returned on successful DELETE
requests (when destroying droplets, images, keys, etc.), i.e. response
body is empty (and parsing it as JSON fails).