Removes unexpected exceptions and clarifies where we want to avoid console calls.
Wraps pako's deflate for easier usage.