fixes #903, fixes #1513
fixes #1511
Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak

Conflicts:
	lib/pure/asynchttpserver.nim