Connection Initiated in sample chooser

Connection is now initiated in SampleChooser.java. Because the socket
is connected at the application level it stays constant regardless of
which activity is in the forefront.