fix monkeypatching in nserve, nslave

nserve/nslave only monkeypatch when imported as __main__ so, we
monkeypatch in main_trampoline and then call into the respective main
function