changes to imgServer - now reading mime-types with python's 'imghdr' module, returning that to headers