Can specify SSL key and certificate in Restapi configuration. If it's done, request API only through https.
add key and certificate for SSL
Merge pull request #4 from Frumba/WebRTC