Get client host and port on browser script.
Use foreman for client program.