Adding events to the server transports, and fixing a test using the new listening event semantics.