use base handler's GotError
net handler use OldGotError and add test case