Complete the hook up of offer creation and sending when opening the chat window

This gets us to the stage where opening a chat window will correctly send a message to the server for the call offer. Generally the issues were function parameters not matching what they were being called with.