Fixed property definition.
Added support for configuring the interface.
Fixed building of protocol from a string.
Fixed encoding issue.
Fixed minor issues causing crashes.