coverity: accept: Add return value checks for listener setsockopt calls
coverity: Minor fixes, check for string emptiness the right way