Further work on Buffer implementation, now with base64 support