net: fix parsing of :port syntax
light: fix start of initial sync in weird cases