Use byte arrays instead of strings for keys and values
Use an interface for the request handler