second draft

- restructured code
- added support for zlib and deflate page
- added support for base64 images
- set default favicon to default content-type 'image/x-icon'
- added timeout on page
- added max redirects