fixed http server issues

change receive timeouts, added logic to handle improper http headers,
fixed div by zero in status page