Fix RiakConnection.get_code(int)

This is a backport of #350 to the 1.1.x client.
Merge pull request #352 from basho/backport-gh350

Fix RiakConnection.get_code(int)