fix does not accept ranges and path basename is . or / bug

1. http server might do not support Accept-Ranges, so changed to signal connection
2. path basename might be . or /, then changed to 'default'