Include IP in key

Closes #1