added function to parse any message received into message structure, and handling complete for choke/interested messages