Dispatch events to local, started, ports.

Fix #15.