Handle HTTP status code more gracefully
  Add common treatment for non authenticated scenarios.

They are now treated as errors (if common message handling is called). This applies for 401 or for 203 in case of OAuth
Added unit test for failed connection
Merge pull request #15 from tspascoal/master

Handle HTTP status code more gracefully