Add unit test and change to Netty Base64