Add some validity checks inside socket server