Towards an active network architecture