Fix for #85 - read attachment's content-type from HTTP headers

Don't let WordPress guess by looking at a URL. We can get the proper content-type from the server.