(Bug 4851) Fix operator precedence

What we want:

    ssl && ( GET || HEAD )

What we actually had:

     ( ssl && GET ) || HEAD
Merge pull request #232 from afuna/head-https-bug4851

(Bug 4851) Fix operator precedence