try http if tcp fails.