Simple implementation of an HTTP daemon