remove afnet dependency

done for [AGPUSH-558](https://issues.jboss.org/browse/AGPUSH-558)