fixes for mirage 1.2
update to mirage 1.2; add file serve methods
add mode query param to http-file