Directed evolution and de novo design for improved pathogen-targeting protein drugs