Implemented malloc in both client and server, now the server can provide the seats-map.