CSNIRP lab2 part1 - AS server and basic client (not working yet)