Replaced regular expression with string split.
Added unit test for scenario when parsing message without payload.
Refactored Partition out of URL.