[add] implemented grant
	poolPub (renamed to poolResponse) is now shared between .publish and .grant
Merge pull request #3 from tralamazza/grant

implement grant