Created Socket thread

Began creating the socket listener.