Address most of Jesse's review

Not adddressed yet:
  - moving of get_src_port
  - configurable UDP port