A curvature boundary condition for moving contact line