Check useragent, find OS and add CRNL for line-endings
	closes #8