Default to localhost when request has no host
support parameter constraints
support optional and default parameters