Add a missing require in socket_handler_spec.