lib/socket_wrapper: explicitly use allow_warnings=True