Removed listening on udp port since this is a server that only sends
beacons.
Added todo.
Added function scoped middleware idea.