URL-decoding the POST data and parsing after the full input arrived

I parse only after the whole input arrived since I want to keep the code simple,
parsing only fragments would complicate it, I'm aware that this may cost me
speed, but it's not a problem since it's a toy daemon.