refactor a bit, wrap client script with closure, expose reload config to client script
create options aliases opts.proxy -> opts.proxyPort and opts.reload -> opts.srcPort