removed connection and reconnection logic, this can now be handled client side. socket stream now exports connection config