Fix friends links not working with https