Sending and receiving messages now works. Implemented commands till "setInactivityTimeout"