would this first part of the `||` be better as `($persistent ne 'false')`  ?  Also, above where `$persistent` is pulled from the frame hedears, should it be `my $persistent = lcase( $frame->headers->{persistent} ) || 0;` or something like that?