libwinpr-winsock: minor improvements