Pass sender obj to messages

- better handling of responses from server