use \r\n as CRLF, not just \n
Merge pull request #11 from stuartnelson3/master

use \r\n as CRLF, not just \n