server-mode: implement /v0/format

When in server-mode, you can do a POST request to get line-breaking
from TeX.