stable version with socket connect sans command passing
basic socket functionality