Add optional segments in route.

Indicate an option segment via the use of `:?` instead of `:`.