totally refactored and commented

reusing iocp/winsock code in context class