added new option '-S' will remove last / in requests