Fix crash on Windows when --enable-stats is set
Use closesocket()
Add ChangeLog entry

Conflicts:
	ChangeLog
Don't use async sockets on Windows