win: add test for (non)blocking getsockname