implemented PUB and REP sockets in log_record_server