Respect HTTP status codes

Checking HTTP error codes and cancel download if HTTP status Code >= 400
Ignored xccheckout of SampleProject