completed http_get_file function.
added some slighly better error status codes in http server response
header.