Client is working alright, have to handle illegal messages. Server is the only part left to finish