Implement handling of max_clients, fixed bug in setting max_backlog