Modified version of Nagios check_http plugin.