Add options field to connection

Also add single option to close connection when it is no longer in any rooms; hook these up.