work in progress. added writeResponse command to StaticServerDomain.