Python Twisted library that finds the size / type of an image given its URI by fetching as little as needed