Changed functions to use new, much more clean pd9p_session struct, added pd9p_closesession