return a reference to the server when adding via pack.server
Merge pull request #1425 from nlf/master

return a reference to the server when adding via pack.server