connect to the pinentry helper via a file-backed unix domain socket

this allows greater access control, and results in cleaner code.
Fetch the UID of the process requesting pinentry from the Intent