Support Opera Web Browser

Like Firefox, Opera does not send the Proxy-Connection header.
Modified the exception code to handle both Firefox and Opera