Impl RegisterSocketHandler