fix stream seek bug for ranged requests
add mime type images for flash, java and HTTP 3xx responses