Add the correct handler in the pipeline when upgrade to netsocket