fix the broken OpenSSL version detection
pending list should be LIFO (instead of FIFO) for better locality (if the proceeding callback of a handled connection needs to be called once more, it should be done ASAP)
Windows port
Merge branch 'master' into windows

Conflicts:
	src/socket.c
sent should be 0 always