unified client & server

+ parsers for each