Forgot to add NetProtocol class to repo

Added function to go from string -> object
Fixed iterator placement error