git import of openonload.org https://gist.github.com/majek/ae188ae72e63470652c9