Call writeHead in sendHeaders
Remove recursive serve call from static plugin. Use external mime-type library