Bugfix: response should have 2 parts, i.e. a header and a body, each of which teminates with double \n.