Restructured some structs and functions and added a function to set the features of a port based on a ofp v1.0 feature reply's port's features.