Enhancement: Added "reset_headers()" method for multi-call use case
Change: Replaced catch-all exceptions with precise ones