fixed net_delete method; refactored session_handler to remove poco dependancies