Added client close if message from server is masked