Hardening the Curl and Socket consumers