I've had to change this so that only headers that exist are echoed back. This is to test setting a header value to `undefined`. Since it's ignore it should never reach the server and hence never returned back by the echo server. I've done some researching and it seems like `isset` is the way to check if a given `key` exists in a dictionary. If this is not the case, happy to take on board another suggestion.