Fixed "locahost" typo, removed unnecessary property assignment

Object creation passed host as "locahost", then it appeared to correct for that by setting the host property on the next line.