Made http server more general (intents can now be used to share every type of media)