allow to unserialize blindly - without knowing whether msg is binary
fix exports
fix exports
add raw transport