Apply consistent quoting of $STATUS and $LASTSTATUS
Drop explicit IP lookup in favour of cURL's remote_ip; requires cURL 7.29 or later