fixed socket/normal request handling so routes work in both cases

made event names more meaningful

POST to log endpoint