Added a second method to bdecode a string. Necessary for GET request.
Got the URL encoding for GET request working.