Added 'Content-Type' and 'Content-Length' headers to Controller->send