Replaced platform specific newline of PrintWriter with HTTP CR+LF.