add auth check for request
Merge branch 'master' of github.com:siddontang/libtnet