Add NBF check

This short pull request adds checking for the NBF claim and well as a few minor code style changes.