HTTP document server dev

Added basic HTTP document server
Need to implement permissions
Fixed incorrect content types for XML responses