Use persistent connections.
Gracefully handle non-200 responses
Merge pull request #24 from captn3m0/error-handling

Error handling