feat(tcp): add tcp test, fix nil callback