Extend string encoding

String encoding in ofp_utils module now handles both binary strings as
well as regular ones.
Fixes FlowForwarding/LINC-Switch#72