Updated http error handling code, and added code for listing the last request status via scanstatus.php(previously named lastscan.php).