Simple server for sending messages - working for one device