temporary method for establishing a simple tcp connect