Protect /dev pagen with username/password & self signed ssl

Woud be very useful (and a bit more secure then it is now) to protect the /dev page with a username/password (volumio/newpasword) and make sure the connection to this page is redirected from http to https with an automically created self-signed certificate by Volumio.