package: add dependency mime
http server, serve(): properly parse urls for pathname and lookup mime type if not provided with file specification from input set; set content-type header