Class name changes
Catch of errors improved
Recognized and used encoding on HTTP response