Ported spawn|home stone network code.