Add some missing webserver functions
Server: Use correct type for client elem
Update examples for 0.5.x API