improved python client functionality (search and tail)