add support for using proxy over custom http error code

Some country, return specific http error code on blocked site (for example 403) 
This PR add support for that type of error code.