Phillipmartin validate x hub sig

Merging #12 with master