Added support for detecting scheme from well known headers.