making backing BDB datastore thread-safe
changed header comment
splitting into manageable methods for future unit testing
obeying content-type specifications
conversion char to/from byte arrays
added test for byte/char array conversion
added some logging
changed logging format
fixed mkdir for databases
added client abstract
minor changes
moving htpasswd around