Removed unnecessary sockaddr_in in pc.c, replaced with locally declared in_addr for IP address output
Refactored pcmain, moved receiving of streams to other threads to own function, getStreamFromStream. Consider moving into common.c, such that all threads can access this.
Moved handling of sent heartbeats into its own function in PC
Moved heartbeat handling in PC to its own function
Moved handling of unmatched responses to separate function in PC
Fixed issue #4
Moved checking of response matches to its own function in PC.
Handling of all received traffic from RX now in its own function in PC.
Moved PC to its own folder. Will be used to separate classes of functions out to separate files later on.
Moved getStreamFromStream to common.c, to allow other threads to use.
Moved handling of heartbeats into its own file in PC.
Moved functions dealing with response into own file in PC.
Moved linked list structures from pc.h to heartbeat.h and response.h
Moved handling of communications between PC and TX, and PC and RX, to api.c
Moved handling of timedout heartbeats to heartbeat.c
Added function to free linked list of heartbeats (lHeartbeat)
Added function to handle checking and dequeuing of unmatched responses.
Fixed a possible memory leak: provided function to free list of responses, called at end of pcmain function.