merge proxy: added the very first version of the listener side

TODO:
 - properly mimic the real API by wrapping the response JSON as what happens there
 - sometimes the server-side connections get broken with weird HTTPClient exceptions
 - the whole thing should be configurable by a config file or from the command line
 - login/logout should be passed through and then there'd be no need for the manual logins