Added formEncode, urlEncode

Cleaned up a bit