Fixed a new line bug in http response

This patch fixes weird http response headers: Expires, Links and Content-Length.