always set a content length header

Some servers (browserstack) require content length headers for all commands, this makes sure one is sent even when there's no data (for click and submitForm actions).