split_path/1 splits RequestLine in a file
reference (Path), and a QueryString or a
PathInfo string as specified in
RFC 2616.
A QueryString is isolated from Path with a
question mark (?) and PathInfo with a slash
(/). In the case of a QueryString, everything before
? is a Path and everything after ? is a
QueryString. In the case of a PathInfo,
RequestLine is scanned from left-to-right on the hunt
for longest possible Path being a file or a
directory. Everything after the longest possible
Path, isolated with a /, is regarded as
PathInfo. The resulting Path is decoded using
decode_hex/1 before delivery.