Fixes, removed useless functions, addded #rpban

Removed useless #rpban24, #rpban16 and #rpban8 functions, added a #rpban
function which parses ranges (e.g. 154.167.47.0/24 | 178.25.0.0/16 |
45.0.0.0/8 )