threw in http and ws endpoints

- just looking at state right now
- some rather unfortunate set-state! calls, think of a better way?