Motivation:
We can simplify the init method of ChannelHandlerContext and replace one let by a computed property.
Modifications:
Remove some if let statements that we not need and use computed property.
Result:
Simpler code and need one less variable per ChannelHandlerContext.