Machine Learning for Botnet Detection: An Optimized Feature Selection Approach