Update link parsing to support https protocol.