OTH: Updates error treatment to receive error codes along with error strings

Updates error response treatment, so that we're able to correctly
parse error codes along with error strings.
Also, updates the SSL protocol version to TLS version 1, and the
server hostname to smarttbot.com