Only add protocol to api host if none specified.