override a def based on tornado 4.0 release
Merge pull request #2 from allencharp/master

override a def based on tornado 4.0 release