Make Codec class public

Codec class is very useful in other libraries, but it is protected.
I am using it in https://github.com/shvid/spring-data-cassandra