staging: slhttp: only compute payload when present

By eliminating a few computation on the payload size when there's none,
the HEAD request rate went from 820k to 825k/s.
1 file changed