Minor improvements in delegator.py
Log on debug the certificate and key
ErrorAsJson middleware must reset Content-Length
Bumped to 3.2.1