Added http_request_get_body_range method.
Added method http_request_get_method.
Use NULL in pointer comparison.