Replacing strtoul 

Strtoul is used for parsing the hex string for url endcoding. This uses lots of program space, and quite a waste if you are not using it in other parts of the project.

By replacing it with a simple hextodec function I could save about 700k program memory in my project.

Mybe this is helpful to other people.