Improve HTTP file access

* Request 4096 bytes on first GET intead of 2 bytes and don't throw away the results
* If server reponds with 200 on range request, just accept the server won't do range requests
* Fix problem in http_read so it will make sure to fulfill the read even if there were pending data