Fixing fault handling
Merge pull request #461 from diegossilveira/fault

Changes: HTTP response codes no longer trigger errors.
Removes automatic port appending to "Host" header.

Previously, a `port` (443) was appended automatically to the "Host" header if the given `endpoint` URL is a secure URL (starts with "https://"). With this Pull Request a port is only appended if it is also present in the `endpoint` URL.
Merge pull request #479 from herom/remove-automatic-port-appending

Removes automatic port appending to "Host" header.