updates for r509 0.10.x compatibility

This pull requests contains some updates to make `r509-ca-http` work with the current `r509` master.