Bug 881761 - Part 1: move code of cipher settings to a static function
Bug 881761 - Part 2: Initialize NSS when initializing PeerConnection.