input: implement JSON-based IPC protocol
manpage: add JSON IPC documentation
input: implement --input-file on unix using the IPC support