Formats the host parameter before passing it to fsockopen on the dashboard