shift arg parsing around to be separated
remove unnecessary set
add two new type signatures to header
Add get_bound_sockfd().
Add send_packet().
Change naming & add reset usage.
Fix bug with setting wrong send/recv enum.
Fix problem with overwriting files.
Change ret value of parse_error to reflect others.