tobacco-spitter: Add a remote API