networking this involves adding or modifying about ten lines in the client program' handle_request(functionand adding or modifying about sixteen lines in the server program' handle(method--including code to handle the case where the protocol version read does not match the one expected solutions to this and to the following exercises are provided in car_registration_ans py and car_registration_server_ans py copy the car_registration_server py program (or use the one developed in exercise )and modify it so that it offers new actionget_licenses_ starting_with the action should accept single parametera string the method implementing the action should always return -tuple of (truelist of licenses)there is no error (falsecasesince no matches is not an error and simply results in true and an empty list being returned retrieve the licenses (the requesthandler cars dictionary' keyswithin the scope of lockbut do all the other work outside the lock to minimize blocking one efficient way to find matching licenses is to sort the keys and then use the bisect module to find the first matching license and then iterate from there another possible approach is to iterate over the licensespicking out those that start with the given stringperhaps using list comprehension apart from the additional importthe call dictionary will need an extra couple of lines for the action the method to implement the action can be done in fewer than ten lines this is not difficultalthough care is required solution that uses the bisect module is provided in car_registration_server _ans py copy the car_registration py program (or use the one developed in exercise )and modify it to take advantage of the new server (car_registration_server_ans pythis means changing the retrieve_car_details(function so that if the user enters an invalid license they get prompted to enter the start of license and then get list to choose from here is sample of interaction using the new function (with the server already runningwith the menu edited slightly to fit on the pageand with what the user types shown in bold)( )ar ( )ileage ( )wner ( )ew car licenseda licenseda seats mileage ownerjonathan lynn ( )ar ( )ileage ( )wner ( )ew car license [da ] this license is not registered start of licensez ( )top server ( )uit [ ]( )top server ( )uit [ ]