fix for incorrect response id's

with request id's > 9, only the first leftmost digit was returned as response id
Fix for python 2.6 compatibility

http://docs.python.org/2.7/library/string.html#formatstrings
Python 2.6 compatibility
Merge pull request #6 from langimike/master

Small Fix concerning response id's and Python 2.6 compatibility