Fix protocol issues on links