Wip 9148

This branch consolidates a few fixes:
Bugs:
 - 9201
 - 9206
 - 9208

Features:
 - 9200

When reviewing, please also take a look at the two relevant commit at the ceph/civetweb.git repository.