XMPP MUC

I've improved the manual entry (proper headers).

Also  I've added additional information to the error log to see what is going on when it fails. As can be seen from the log below the service is connecting to the MUC successfully (and I can confirm this from watching the chat room itself).

The bot however is disconnecting before it has a chance to send a message. Github is reporting an 'Unknown Error' so in order to dig into this I need more information.

Cheers, Lloyd.

PS If you are about I am happy to jump online and get this corrected ASAP, please email and I will make myself available.

@atmos @kdaigle

```
Aug 13 18:43:57 socket	debug	server.lua: accepted new client connection from 192.30.252.47:40795 to 5222
Aug 13 18:43:57 c2s3231080	info	Client connected
Aug 13 18:43:57 c2s3231080	debug	Client sent opening <stream:stream> to surevine.com
Aug 13 18:43:57 c2s3231080	debug	Sent reply <stream:stream> to client
Aug 13 18:43:57 c2s3231080	debug	Received[c2s_unauthed]: <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'>
Aug 13 18:43:57 socket	debug	server.lua: we need to do tls, but delaying until send buffer empty
Aug 13 18:43:57 c2s3231080	debug	TLS negotiation started for c2s_unauthed...
Aug 13 18:43:57 socket	debug	server.lua: attempting to start tls on tcp{client}: 0x2a44308
Aug 13 18:43:57 socket	debug	server.lua: ssl handshake done
Aug 13 18:43:57 c2s3231080	debug	Client sent opening <stream:stream> to surevine.com
Aug 13 18:43:57 c2s3231080	debug	Sent reply <stream:stream> to client
Aug 13 18:43:57 c2s3231080	debug	Received[c2s_unauthed]: <auth mechanism='PLAIN' xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
Aug 13 18:43:57 c2s3231080	info	Authenticated as test@surevine.com
Aug 13 18:43:57 surevine.com:saslauth	debug	sasl reply: <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'></success>
Aug 13 18:43:57 c2s36f3180	debug	Received[c2s]: <iq id='b17e98e5-8710-4e63-9ed8-abfd0702d714' type='get' to='surevine.com'>
Aug 13 18:43:57 c2s3231080	debug	Client sent opening <stream:stream> to surevine.com
Aug 13 18:43:57 c2s3231080	debug	Sent reply <stream:stream> to client
Aug 13 18:43:57 c2s3231080	debug	Received[c2s]: <iq id='1555' type='set'>
Aug 13 18:43:57 rostermanager	debug	load_roster: asked for: test@surevine.com
Aug 13 18:43:57 c2s3231080	debug	Resource bound: test@surevine.com/cf62c802-4ba5-4e3f-ac7d-57fd2f4f575b
Aug 13 18:43:57 c2s3231080	debug	Received[c2s]: <iq id='2055' type='set'>
Aug 13 18:43:58 c2s2f1cd40	debug	Received[c2s]: <iq id='d51f4f19-d88d-4c11-9d7e-22da1bf8fe4a' type='get' to='surevine.com'>
Aug 13 18:43:58 c2s3231080	debug	Received[c2s]: <presence to='test@chat.surevine.com/github'>
Aug 13 18:43:58 mod_muc	debug	room: test@chat.surevine.com, current_nick: nil, stanza: <presence to='test@chat.surevine.com/github' from='test@surevine.com/cf62c802-4ba5-4e3f-ac7d-57fd2f4f575b'>
Aug 13 18:43:58 mod_muc	debug	test@surevine.com/cf62c802-4ba5-4e3f-ac7d-57fd2f4f575b joining as test@chat.surevine.com/github
Aug 13 18:43:58 c2s27cfe60	debug	Received[c2s]: <iq id='42567' type='get' to='test@chat.surevine.com/github'>
Aug 13 18:43:58 c2s3231080	debug	Received </stream:stream>
Aug 13 18:43:58 c2s3231080	info	c2s stream for test@surevine.com/cf62c802-4ba5-4e3f-ac7d-57fd2f4f575b closed: session closed
Aug 13 18:43:58 c2s3231080	debug	Destroying session for test@surevine.com/cf62c802-4ba5-4e3f-ac7d-57fd2f4f575b (test@surevine.com)
Aug 13 18:43:58 mod_muc	debug	room: test@chat.surevine.com, current_nick: test@chat.surevine.com/github, stanza: <presence type='unavailable' to='test@chat.surevine.com/github' from='test@surevine.com/cf62c802-4ba5-4e3f-ac7d-57fd2f4f575b'>
Aug 13 18:43:58 mod_muc	debug	test@chat.surevine.com/github leaving test@chat.surevine.com
Aug 13 18:43:58 c2s3231080	info	Client disconnected: connection closed
Aug 13 18:43:58 c2s3231080	debug	Destroying session for (unknown) ((unknown)@(unknown))
Aug 13 18:43:58 socket	debug	server.lua: closed client handler and removed socket from list
```