Rather than trying to tease out commands, ignore ones that are implemented by the UI and let the user enter raw commands themselves.
Fix kick response
Bitcoin, not Bitcoins; gold, not golds
Use SSL by default
Prevent reference error by not defining the autojoin vars at all