Pass allow_{tcp,agent}_forwarding to classes