Created own packet header structs, copies of BSD ones, to improve portability, at least with Linux. Moved structs and includes to a header file svr.h and created prototypes in svr.h. Moved main to top of svr.c for improved clarity