First attempt at server socket with working test