Studying Twisted Python framework