added class SocketReader to receive UDP messages