Added trailing_slash flag for the client

There are many frameworks that want only trailing slashes.
For them. Let them live in peace