A basic socket example