Server captures request and casts to packet_t then performs basic error checking