respect target framework for framework assembly references
fix http client tests -> only add reference for matching target framework
Merge pull request #398 from christianlang/references

Respect target framework for framework assembly references