convert to tcp conn instead of http