a little bit refactoring on signv4.
should trim/lower/sort for canonical headers and signed headers.