Rename server() to serve()

This is a more appropriate function name.