Made prepare_response overridable
Merge pull request #3 from msoedov/headers

Made prepare_response overridable