Added examples/ to fix #5. Went back to :optional_headers option which fixes #2.
Added comments to resolve #4.