Initial socket implementation for recA agent