Add TLS support and Facebook chat demo (only for firefox)

Add TLS support and a Facebook chat demo.  This only works for Firefox for now, and will break Chrome until chrome.sockets.tcp.setPaused is updated (https://code.google.com/p/chromium/issues/detail?id=403076).
Has an upstream bug been submitted for this? can it be referenced in a comment here so we can know when it can go away?