Fixed fencepost problem for the expected content size

Added control for modified date. If the cached files modified date equals the modified date of the servers copy OR if the server returns HTTP status code 304 NOT MODIFIED, it will close the connection and use the cached file instead of overwriting it.
CLOSES LAUNCHER-3