MINOR: spoe: Add "maxconnrate" and "maxerrrate" statements

"maxconnrate" is the maximum number of connections per second. The SPOE will
stop to open new connections if the maximum is reached and will wait to acquire
an existing one.

"maxerrrate" is the maximum number of errors per second. The SPOE will stop its
processing if the maximum is reached.

These options replace hardcoded macros MAX_NEW_SPOE_APPLETS and
MAX_NEW_SPOE_APPLET_ERRS. We use it to limit SPOE activity, especially when
servers are down..
diff --git a/doc/SPOE.txt b/doc/SPOE.txt
index 1012f35..83c52b1 100644
--- a/doc/SPOE.txt
+++ b/doc/SPOE.txt
@@ -156,6 +156,8 @@
     <name>   is the name of the agent section.
 
   following keywords are supported :
+    - maxconnrate
+    - maxerrrate
     - messages
     - option continue-on-error
     - option var-prefix
@@ -163,6 +165,18 @@
     - use-backend
 
 
+maxconnrate <number>
+  Set the maximum number of connections per second to <number>. The SPOE will
+  stop to open new connections if the maximum is reached and will wait to
+  acquire an existing one. So it is important to set "timeout hello" to a
+  relatively small value.
+
+
+maxerrrate <number>
+  Set the maximum number of errors per second to <number>. The SPOE will stop
+  its processing if the maximum is reached.
+
+
 messages <msg-name> ...
   Declare the list of SPOE messages that an agent will handle.