throttle the failure counts
fix memory leak in _msg_get
fix unknown error number
use ragel to generate server conf parsing code