Initialize endpointName to an empty Optional holder.
This fixes broken ThriftFactoryTest too.
Merge pull request #126 from birmiwal/master

Initialize endpointName with Optional.absent() in ThriftFactory