Add support for the PostStart event handler.

I ended up adding the attempt to parse it before the loop, I'd argue that principle of least surprise says that a user expects: "80" to be treated as a number, rather than a port name.