using str_replace in http_build_query which fixes #7

@thomaswelton, seriously dude, need to up your game ;)
Merge pull request #8 from davidthingsaker/enc_type-fix#7

using str_replace in http_build_query which fixes #7