add registration events, IoSessionInitializer, fix infinite loop in DefaultPipeline
more work on pipeline