Add Python code and example for COA block network traffic idiom

@bworrell / @johnwunder : Can one of you take a look at this before merging?