Implementing configurable error status code

#10 This pull request introduces a new setting `ErrorStatusCode`. Whenever the connector experiences any kind of connection error, the response status code is set to the value of this setting.

The default is 200 for backward compatibility.