So the whole TCPError function is busted, but I'm not sure that I want to spend a lot of time fixing it.  I'll push a revision that uses he nssErrorsService so that table can go away, but leave it for some later work to fix that.