a nano http proxy written by python with errors