The code here is from https://github.com/cuonglm/quicsni with various modifications.