use scheme from Ring request instead of hard-coding http
add support for todos containing completed property