Fix for configured protocol limitation.
Which still was adding servers with invalid certificates to mirrorlist

Fixed issue #140