Fixes crashing event loop. Adds bare http parser.