extend server with protocol information

This extends the server class with the information, if it is serving
http or https. This can then be used to generate a root uri to the web
application.
update dependencies