FIX(SOCKET): setsockopt param/param_len mismatch

When performing
REF: Use Windows thread API for INtime RTOS support

INtime offer support for Win32 API via iwin32. Do not need to implement both Windows and INtime thread support.

Conflicts:
	src/jsonrpc/connectors/threads.h
FIX: Delete Connection thread handle when closing connection