i don't know about controlling two sockets
but yes the device you are looking for is called a hygrometer
they're very popular for people who have humidors for cigars...
i believe you can get them at radioshack even