Check buffer-overrun
Fix parsing invalid URL decode.
More shorten
Encode/Decode NUL byte
Encode NUL byte
Merge pull request #1 from mattn/master

test