Added headers to record.

We should be able to use headers. This is especially important when a proxy passes IP in a custom header. Might be useful for other headers as well.