use ssl when possible, otherwise use proxy directly
add source and raw link