cleanup_winsockapi: adjustment of a few warning fixes