'The FastCGI socket needs to be created by the parent before we fork'

def before_spawn(self):

    if (self.group is None):
        raise NotImplementedError('No    group    set    for    FastCGISubprocess')
    if (not hasattr(self.group, 'socket_manager')):
        raise NotImplementedError(('No    SocketManager    set    for    %s:%s' % (self.group, dir(self.group))))
    self.fcgi_sock = self.group.socket_manager.get_socket()
