Fix GH-16267 socket_strerror overflow on argument value. only socket_strerror provides user-supplied value to sockets_strerror handler. close GH-16270