experiments
first working version with http headers rewritten. need to clean up code and implement routing business logic