Revert "Merge pull request #91 from basho/bz1067-remove-try-cast" - repl still needs it.
Revert "Merge pull request #91 from basho/bz1067-remove-try-cast" - repl still needs it.

This reverts commit 4ae468bd00fc57085ef176e21bbbe0f055265486, reversing
changes made to a17ca578649bce9e52143235fabf4660339b2d24.

andytill/riak_kv