fork of curl-loader project by aschepis