Optimizing lightwave transmission through a nano-tip