shape up the thtp api a bit more
implemented most of thtp proxying, nifty