Optimize is_webocket_request
Reduce number of calls to is_webocket_request
Reduce number of calls to is_put_or_delete
convert_uri_to_file_name does much more than that -> rename it