Added error unmarshalling for non-success http response statuses
Refactored common functionality where possible for Android and Apache Http classes to base class