only return a flask response when necessary for setting content-length
remove spurious newlines in sts responses
require fixed versions of httpretty
don't provide request headers as response headers in server